﻿@model List<Client.LF.hetong>
@{
    Layout = null;
 }

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>HTshow</title>
    <link href="~/Content/css/bootstrap.min.css" rel="stylesheet" />
    <script src="~/Scripts/js/jquery.min.js"></script>
    <script src="~/Scripts/js/bootstrap.min.js"></script>
    <script src="~/Scripts/jquery-1.8.2.min.js"></script>
</head>
<body>
    <div>
        <input id="Button1" type="button" value="签合同" onclick="funadd()" />
        <table style="text-align:center; border-collapse:collapse;" border="1" class="table-bordered table table-condensed table-responsive table-hover">
            <thead>
                <tr>
                    <td>员工姓名</td>
                    <td>合同编号</td>
                    <td>合同的开始日期</td>
                    <td>合同的结束日期</td>
                    <td>岗位名称</td>
                    <td>合同内容</td>
                    <td>操作</td>
                </tr>
            </thead>
            <tbody>
                @{
                    foreach (var item in Model)
                    {
                        <tr><td>@item.EmployName</td><td>@item.hbh</td><td>@item.bdate</td><td>@item.edate</td><td>@item.PositionName</td><td>@item.htnr</td><td><a href="/new/HTdel?hid=@item.hid">删除档案</a>  <a href="/new/HTEXist?hid=@item.hid">修改档案</a></td></tr>
                    }
                }
            </tbody>
        </table>    
    </div>
</body>
</html>
<script>
    function funadd()
    {
        location.href='/new/HTadd'
    }

</script>